package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "管理员订单详情响应")
public class AdmOrderDetailResp {

    @Schema(description = "订单详情列表id")
    private Long id;

    @Schema(description = "商品ID")
    private Long productId;

    @Schema(description = "购买东西的详细信息")
    private String info;

    @Schema(description = "关联订单号 关联 order表orderNo")
    private String orderNo;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "商品图片")
    private String image;

    @Schema(description = "实付商品单价")
    private BigDecimal price;

    @Schema(description = "购买数量")
    private Integer payNum;

    @Schema(description = "商品类型:0-普通")
    private Integer productType;
}
